package com.dm.mcode.model;

/**
 * Created by Damon.Han on 2016/10/10 0010.
 */

public class Msg {
    public String body;
    public String address;
    public String sort;

    /**
     * 判断是否跟上次短信一样
     *
     * @param msg2
     * @return
     */
    public boolean equals(Msg msg2) {
        if (!body.equals(msg2.body) || !address.equals(msg2.address)) {
            return false;
        }
        return true;
    }
}
